MPT.addRoute('guide', function(){
	
	// 引导页设置头像
	// #!/guide/setAvatar
	this.setAvatar = function()
	{
		require([
			MPT.Config['sta_js_tpl_http'] + '/guide_setAvatar.js',
			MPT.Config['sta_js_tpl_http'] + '/plugin_edit_avatar.js'
		], function(){
			
			jQuery("#contenter").replaceWith(MPT.getTmpl('guide_setAvatar'));
			
			// -- 激活该HTML action --
			MPT.excAction(jQuery("#contenter").get(0));

		    document.title = "蜀门社区 - 上传个性头像";
		});
	};
	
	// 引导页设置资料
	// #!/guide/setInfo
	this.setInfo = function()
	{
		require([
			MPT.Config['sta_js_tpl_http'] + '/guide_setInfo.js'
		], function(){
			
			jQuery("#contenter").replaceWith(MPT.getTmpl('guide_setInfo'));
			
			// -- 激活该HTML action --
			MPT.excAction(jQuery("#contenter").get(0));

		    document.title = "蜀门社区 - 完善个人资料";
		});
	};
	
});